package org.rust.lang;



//class for holding more specific stuff than Node 
public class Elem
{
   public enum Type
   {
      CALL, REFERENCE, ASSIGNMENT, BLOCK, INTVAL; 
   }

   private Type type = null;
   public Type getType()
   {
      return type;
   }

   private Node parent = null;
   
   public Node getParent()
   {
      return parent;
   }

   public Elem(Type type, Node parent)
   {
      this.type = type;
      this.parent = parent;
   }

   public Elem(Type type)
   {
      this.type = type;
   }
}
